/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ove.openmath.jome.ctrl.linear.events;

/**
 *
 * @author Mr.Sam
 */
public interface LinearParserEventSource {
    /**
    * Registers another listener of the instance.
    * @param linearParserListener the listener to add.
    */
    public void addLinearParserListener(LinearParserListener linearParserListener);

    /**
    * Removes a listener.
    * @param linearParserListener the listener to remove.
    */
    public void removeLinearParserListener(LinearParserListener linearParserListener);

    /**
    * Fires a LinearParserEvent event to registered listeners.
    * @param linearParserEvent event encapsulating relevant information.
    */
    public void fireLinearParserEvent(LinearParserEvent linearParserEvent);
}
